/*
 * PayOrderInfoListItem.java
 * business
 *
 * Created by ChenTao on 2017/2/28.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Order;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.PayOrderInfoHolder;

/**
 * 支付/购买的订单信息
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 16:36
 */
public class PayOrderInfoListItem extends DisplayListItem<PayOrderInfoHolder, Order> {

    public PayOrderInfoListItem(Order s) {
        super(s);
    }

    @Override
    public void onShow(Context context, PayOrderInfoHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return PayOrderInfoListItem.class.getSimpleName();
    }

    @Override
    public Class<PayOrderInfoHolder> getViewHolderClazz() {
        return PayOrderInfoHolder.class;
    }
}
